package com.funcourse.demo.api.websocket;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SocketMessage {
  SocketMessageType messageType;
  Object messageContent;
  public enum SocketMessageType{
    HEART_BEAT,ROOM_START,QUESTION_START,QUESTION_STOP,ROOM_CLOSE,ROOM_UPDATE;
  }
}
